package com.cx.mall.api.seckill;

import com.cx.mall.common.util.ResponseVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "mall-seckill-service")
public interface SeckillGoodsFeign {

    @GetMapping("/seckill/goods/activity/{activityId}")
    ResponseVo listByActivityById(@PathVariable("activityId") Integer activityId);
}
